/**
 * 设置localStorage
 */
export function setLocal(name,value){
  localStorage.setItem(name, JSON.stringify(value))
}

/**
 * 获取localStorage
 */
export function getLocal(name){
  return JSON.parse(localStorage.getItem(name))
}

/**
 * 移除localStorage
 */
export function removeLocal(name){
  localStorage.removeItem(name)
}

